package org.agridata.akvisualization.controller.appoint;


import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.agridata.akvisualization.doMain.appoint.dto.TCheckResultDto;
import org.agridata.akvisualization.result.Result;
import org.agridata.akvisualization.service.appoint.TCheckResultService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/appoint")
@Api(tags = "指定通道检查")
public class TCheckResultController {

    @Autowired
    private TCheckResultService service;

    @ApiOperation("检查记录列表接口")
    @PostMapping("/checkRecords")
    public Result checkRecords (@RequestBody TCheckResultDto resultDto){
        return service.checkRecordsSelect(resultDto);
    }

}
